module.exports = {
  devServer: {
      proxy:{
          "/api": {
              target: "http://m.maoyan.com/ajax/movieOnInfoList?token=http://m.maoyan.com/ajax/movieOnInfoList?token=m8PB1ua2tDZtj2EvgY9CtEccd44AAAAAmAkAACum6J1JVYUDmxNPGipK7RN6vEmPJj5aqyZm6CmlH8LNgv95nanWVmPNOrYEBz_feg&optimus_uuid=586338601A1E11EA8DD6493669058136B5195FE14A5E402DBD4482F72D618D9C&optimus_risk_level=71&optimus_code=10&optimus_uuid=586338601A1E11EA8DD6493669058136B5195FE14A5E402DBD4482F72D618D9C&optimus_risk_level=71&optimus_code=10",
              pathRewrite: { '^/api': '' },
              changeOrigin: true,
          },
          "/api1": {
            target: "http://m.maoyan.com/ajax/comingList?ci=1&token=m8PB1ua2tDZtj2EvgY9CtEccd44AAAAAmAkAACum6J1JVYUDmxNPGipK7RN6vEmPJj5aqyZm6CmlH8LNgv95nanWVmPNOrYEBz_feg&limit=10&optimus_uuid=586338601A1E11EA8DD6493669058136B5195FE14A5E402DBD4482F72D618D9C&optimus_risk_level=71&optimus_code=10",
            pathRewrite: { '^/api1': '' },
            changeOrigin: true,
        },
        "/api2": {
            target: "http://m.maoyan.com/ajax/cinemaList?day=2019-12-09&offset=0&limit=20&districtId=-1&lineId=-1&hallType=-1&brandId=-1&serviceId=-1&areaId=-1&stationId=-1&item=&updateShowDay=true&reqId=1575873886053&cityId=1&optimus_uuid=586338601A1E11EA8DD6493669058136B5195FE14A5E402DBD4482F72D618D9C&optimus_risk_level=71&optimus_code=10",
            pathRewrite: { '^/api2': '' },
            changeOrigin: true,
        }
      } 
  }
}
